<?php $view->extend('AnaAgendaBundle::layout.html.php') ?>
<?php $view['slots']->start('_assets') ?>        
            <?php foreach ($view['assetic']->javascripts(array('bundles/js/pacientes.js'),array(),
                   array('output' => 'js/compiled/js.js')) as $url): ?>
            <script src="<?php echo $view->escape($url) ?>"></script>
        <?php endforeach ?>
<?php $view['slots']->stop() ?>    

<div class="row">
    <form role="form">
        <div class="form-group">
            <input type="text" class="form-control" name="paciente['nombre']" placeholder="Nombre del Paciente">
        </div>
    </form>
    
    <div ng-controller="PacientesCtrl">
        <span ng-repeat="paciente in pacientes">
          {{paciente.nombre}}
        </span>
    </div>
</div>